﻿using DictionaryWebApp.Models;
using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace DictionaryWebApp.EF_Models
{
    public class Word
    {
        [Key]
        public string WordID { get; set; }

        [Required]
        public string UserID { get; set; }

        [Required]
        public string ForeignWord { get; set; }
        [Required]
        public string Translation { get; set; }

        public string Transcription { get; set; }

        public string Description { get; set; }
    }
}